package com.dsbj.apolo.facecollector.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("H_P_QUESTIONNAIRE")
public class Questionnaire implements Serializable {
	
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	
	private String companyno;
	
	private String companyname;
	
	private String idcardno;
	
	private String employeeno;
	
	private String employeename;
	
	private String phoneNumber;
	
	private String idcardnoAddress;
	
	private String nativePlace;
	
	private String residenceAddress;
	
	private Integer beenToOtherplace;
	
	private String destination;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date goOffTime;
	
	private String goOffTransport;
	
	private String goOffTransportDes;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date returnTime;
	
	private String returnTransport;
	
	private String returnTransportDes;
	
	private Integer beenToGivencity;
	
	private String givencity;
	
	private Integer returnback;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date returnbackTime;
	
	private String returnbackTransport;
	
	private String returnbackTransportDes;
	
	private Integer contactPersonFromGivencity;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date contactTime;
	
	private String contactWay;
	
	private String contactWayDes;
	
	private String whereNow;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date returnbackPlanTime;
	
	private String returnbackPlanTransport;
	
	private String returnbackPlanTransportDes;
	
	private String physicalCondition;
	
	private String physicalConditionDes;
	
	private Integer pneumoniaAround;
	
	private String pneumoniaRelation;
	
	/**
	 * 是否居家隔离
	 */
	private Integer selfIsolate;
	
	private String isolateLocation;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date isolateStartTime;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date isolateEndTime;
	
	
	private String remark;
	
	private Integer status;
	
	private Date createTime;
	
	private String createUser;
	
	private Date updateTime;
	
	private String updateUser;
	
}